package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Department;
import cn.wolfcode.rbac.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
    void saveOrUpdate(Department e);
    void delete(Long id);
    PageInfo query(QueryObject qo);
    Department selectOne(Long id);
    List<Department> listAll();
//    void selectByDepartmentnameAndPassword(String username, String password);
}
